
//
//  Step5Pay.m
//  Gunz
//
//  Created by Joggy on 16/4/16.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import "Step5Pay.h"
#import "GZConst.h"

@implementation Step5Pay

-(instancetype)init {
    self = [super initWithFrame:CGRectMake(0, 0, screenWidth, 100)];
    _zhifubao = [UIButton buttonWithType:UIButtonTypeCustom];
    _zhifubao.frame = CGRectMake(0, 0, 66, 66);
    _zhifubao.layer.position = CGPointMake(screenWidth*0.23, 50);
    [_zhifubao setImage:[UIImage imageNamed:@"icon_zhifubao"] forState:UIControlStateNormal];
    [_zhifubao setImage:[UIImage imageNamed:@"icon_zhifubao_selected"] forState:UIControlStateSelected];
    [self addSubview:_zhifubao];
    _weixin = [UIButton buttonWithType:UIButtonTypeCustom];
    _weixin.frame = CGRectMake(0, 0, 66, 66);
    _weixin.layer.position = CGPointMake(screenWidth*0.5, 50);
    [_weixin setImage:[UIImage imageNamed:@"icon_weixin"] forState:UIControlStateNormal];
    [_weixin setImage:[UIImage imageNamed:@"icon_weixin_selected"] forState:UIControlStateSelected];
    [self addSubview:_weixin];
    _unionPay = [UIButton buttonWithType:UIButtonTypeCustom];
    _unionPay.frame = CGRectMake(0, 0, 66, 66);
    _unionPay.layer.position = CGPointMake(screenWidth*0.77, 50);
    [_unionPay setImage:[UIImage imageNamed:@"icon_unionPay"] forState:UIControlStateNormal];
    [_unionPay setImage:[UIImage imageNamed:@"icon_unionPay_selected"] forState:UIControlStateSelected];
    [self addSubview:_unionPay];
    return self;
}

@end
